<template>
  <div>
    <div class="top">
      <router-link class="joke" to="/joke2/loading">段子集</router-link>
      <router-link class="joke" to="/dashboard2">段子列表</router-link>
      <span class="front">前端新闻</span>
    </div>
  </div>
</template>

<script>
export default {
  data () {
    return {
      
    }
  }
}
</script>

<style scoped>
  .top {
    width: 100%;
    height: 60px;
    background-color: #000;
    background-image: url('/static/github.jpg');
    background-repeat: no-repeat;
    background-size: 60px;
    background-position: 20px center;
  }
  .joke,
  .front {
    color: #fff;
    line-height: 60px;
    text-decoration: none;
    margin-left: 10px;
  }
  .front {
    font-size: 20px;
    font-style: italic;
    font-weight: 900;
    float: right;
    margin-right: 15px;
  }
</style>
